package com.mpyy.service.purchase;

import com.mpyy.dao.purchase.PurchaseStockDescMapper;
import com.mpyy.pojo.PurchaseStockDesc;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @version 1.0
 * @Description
 * @Author zhangkaibo
 * @Date 2022-03-11 10:37
 */
@Service("purchaseStockDescImpl")
public class PurchaseStockDescImpl implements PurchaseStockDescInter {
    /*根据进货单号查询商品详细信息*/
    @Autowired
    @Qualifier("purchaseStockDescMapper")
    private PurchaseStockDescMapper purchaseStockDescMapper;
    @Override
    public List<PurchaseStockDesc> searchPurchaseStockDesc(PurchaseStockDesc purchaseStockDesc) {
        List<PurchaseStockDesc> purchaseStockDescs =purchaseStockDescMapper.searchPurchaseStockDesc(purchaseStockDesc);
        return purchaseStockDescs;
    }
}
